package com.lianxi

import java.awt.datatransfer
import java.awt.datatransfer.{DataFlavor, SystemFlavorMap}

import scala.collection.mutable
import scala.collection.JavaConverters._

/**
  * Created by adengdeng on 2017/8/7 
  */
object Lx10 {

  def main(args: Array[String]): Unit = {
    val flavors = SystemFlavorMap.getDefaultFlavorMap().asInstanceOf[SystemFlavorMap]
    val buf : mutable.Buffer[String] = flavors.getNativesForFlavor(DataFlavor.imageFlavor).asScala
    buf.foreach(println);
  }
}
